package cqueue;

public class ListenerEvent extends Event
{
	private EventGenerator source;
	
	public ListenerEvent(EventGenerator source, String name, String val)
	{
		super(name, val);
		this.source = source;
	}
	
	public EventGenerator getSource() 
	{
		return source;
	}
	
	public String toString()
	{
		return "Source: " + source + ", Name: " + getName() + ", Value: " + getValue();
	}
}
